<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name='viewport' content='width=device-width, initial-scale=1'>

<title>login_result</title>

<link rel="stylesheet" href="http://code.jquery.com/mobile/1.3.2/jquery.mobile-1.3.2.min.css"/>
<script src="http://code.jquery.com/jquery-1.8.3.min.js"></script>
<script src="http://code.jquery.com/mobile/1.3.2/jquery.mobile-1.3.2.min.js"></script>
</head>
<body>
<jsp:useBean id="bean" class="member.Login" scope="page"/>
<jsp:setProperty property="*" name="bean"/>

<div data-role='page' id='loginMain' data-ajax='false'>

	<div data-role='header'><h1>로그인 확인창</h1></div>
	
	<div data-role='content'>
		<%
			if(bean.login()){
				out.print(bean.getMid()+"님..");
				out.print("다시찾아주셔서 감사");
				session.setAttribute("mid", bean.getMid());
			}else{
				out.print("아이디와 암호를 확인해주세요~");
			}
		
		%>
	
		<a href='index.jsp' data-role='button' data-ajax='false'>방가방가..메인으로</a>
	</div>
	<div data-role='footer'>중앙HTA</div>
</div>

</body>
</html>